﻿@namespace MudBlazor.Docs.Examples

@inject ISnackbar Snackbar

<MudButton Variant="Variant.Filled" Color="Color.Primary" @onclick="@(() => Snackbar.Add("Snackbar with a custom icon.", Severity.Info, config => { config.Icon = Icons.Custom.Brands.GitHub; }))">
    Open Snackbar
</MudButton>